home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
send.zip
/
MONODEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1985-10-17
|
1KB
|
30 lines
echo off
send $e[2J
rem send $e[2J is the ANSI.SYS clear screen. $e[J will have the same
rem effect but since the correct code set by ANSI is $e[2J, some
rem alternate screen drivers will only recognize $e[2J as a clear screen.
send $_$_$_$_$_$_
rem this skips 6 lines
send $e[0m This is ordinary text$_
send $e[1m This is bold text$_
send $ $e[4mThis is underlined$_
send $e[0;5m This is blinking$_
send $e[0m $e[7mThis is reverse$_$_
rem the extra $_ skipped a line
send $e[0m You $e[7mcan$e[0m combine $e[1;4mdiff
send erent$e[0m attributes for $e[1;5memphasis$e[0m$_$_
rem breaking the line in the middle has no effect!
send You can even send extended ASCII code if you can embed it in your file$_
send $ ┌─────┐$_
send $ │ HI! │$_
send $ └─────┘$_$_
rem SEND ignores leading spaces; the $ is just there to start the line;it
rem isn't sent
rem The above uses the IBM graphics characters such as 192:└ and 196:─
send $ There are all sorts of things you can do with SEND:$_$_
send Today's date is $d; the time is $t $_ and this file is $PMONODEMO.BAT$_$_
rem note that what appears on one line in the file is printed on two!
pause
send $e[2J